/**
 * 主页
 */
const Home = () => import('../view/home/index.vue')
/**
 * 主页跟界面
 */
const HomeRoot = () => import('../view/home/root/index.vue')
const HomeMessage = () => import('../view/home/message/index.vue')

export default {
  path: '/home',
  name: 'Home',
  component: Home,
  redirect: '/home/root',
  children: [
    {
      path: 'root',
      name: 'HomeRoot',
      meta: { tabBar: true , tabBarIndex: 0 },
      component: HomeRoot
    },
    {
      path: 'message',
      name: 'HomeMessage',
      meta: { tabBar: false , tabBarIndex: 0 },
      component: HomeMessage
    }
  ]
}
